package com.example.bankend.mapper;



import com.example.bankend.model.Customer;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper
public interface CustomerMapper {
    int insert(Customer customer);

    int deleteByPrimaryKey(Long customerID);

    int updateByPrimaryKey(Customer customer);

    Customer selectByPrimaryKey(Long customerID);

    List<Customer> selectAll();

    Customer selectByPrimaryKey1(String pid);
    // 新增查询用户总人数的方法
    int countAllUsers();
}